/*
* @Date: 2021/1/23
* @Author: XueChengwu <xuechengwu@erayt.com>
* @Copyright: 2015-2019 Erayt, Inc.
* @Description: If you have some questions, please contact: xuechengwu@erayt.com.
*/

export default {
  display: 'inline-block',
  props: [{
    key: 'allowClear',
    type: 'boolean',
    label: '清除',
  }, {
    key: 'autoFocus',
    type: 'boolean',
    label: '自动焦点',
  }, {
    key: 'bordered',
    type: 'boolean',
    label: '边框',
  }, {
    key: 'clearIcon',
    type: 'icon',
    label: '清除图标',
  }, {
    key: 'clearText',
    type: 'string',
    label: '清除提示'
  }, {
    key: 'defaultValue',
    type: 'moment',
    label: '默认时间',
  }, {
    key: 'disabled',
    type: 'boolean',
    label: '禁用',
  }, {
    key: 'format',
    type: 'string',
    label: '格式',
  }, {
    key: 'hourStep',
    type: 'number',
    label: '小时间隔',
  }, {
    key: 'inputReadOnly',
    type: 'boolean',
    label: '只读',
  }, {
    key: 'minuteStep',
    type: 'number',
    label: '分钟间隔',
  }, {
    key: 'open',
    type: 'boolean',
    label: '展开'
  }, {
    key: 'placeholder',
    type: 'string',
    label: '提示词',
  }, {
    key: 'secondStep',
    type: 'number',
    label: '秒选间隔',
  }, {
    key: 'showNow',
    type: 'boolean',
    label: '此刻',
  }, {
    key: 'use12Hours',
    type: 'boolean',
    label: '12时制',
  }, {
    key: 'value',
    type: 'moment',
    label: '当前值'
  }, {
    key: 'onChange',
    type: 'function',
    function: '(time, timeString)',
    label: '变化回调',
  }, {
    key: 'onOpenChange',
    type: 'function',
    function: '(open)',
    label: '打开回调'
  }]
}
